package com.datatools.entity;

import java.io.Serializable;

public class LocalTable implements Serializable {
    protected static final long serialVersionUID = 1L;
    //TABLE_CAT String => table catalog (may be null)
    protected String tableCat;
    //    TABLE_SCHEM String => table schema (may be null)
    protected String tableSchem;
    //    TABLE_NAME String => table name
    protected String tableName;
    //    TABLE_TYPE String => table type. Typical types are "TABLE", "VIEW", "SYSTEM TABLE", "GLOBAL TEMPORARY", "LOCAL TEMPORARY", "ALIAS", "SYNONYM".
    protected String tableType;
    //    REMARKS String => explanatory comment on the table
    protected String remarks;
    //    TYPE_CAT String => the types catalog (may be null)
    protected String typeCat;
    //    TYPE_SCHEM String => the types schema (may be null)
    protected String typeSchem;
    //    TYPE_NAME String => type name (may be null)
    protected String typeName;
    //    SELF_REFERENCING_COL_NAME String => name of the designated "identifier" column of a typed table (may be null)
    protected String selfReferencingColName;
    //    REF_GENERATION String => specifies how values in SELF_REFERENCING_COL_NAME are created. Values are "SYSTEM", "USER", "DERIVED". (may be null)
    protected String refGeneration;

    @Override
    public String toString() {
        return this.tableName;
    }

    public String getTableCat() {
        return tableCat;
    }

    public void setTableCat(String tableCat) {
        this.tableCat = tableCat;
    }

    public String getTableSchem() {
        return tableSchem;
    }

    public void setTableSchem(String tableSchem) {
        this.tableSchem = tableSchem;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getTableType() {
        return tableType;
    }

    public void setTableType(String tableType) {
        this.tableType = tableType;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getTypeCat() {
        return typeCat;
    }

    public void setTypeCat(String typeCat) {
        this.typeCat = typeCat;
    }

    public String getTypeSchem() {
        return typeSchem;
    }

    public void setTypeSchem(String typeSchem) {
        this.typeSchem = typeSchem;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getSelfReferencingColName() {
        return selfReferencingColName;
    }

    public void setSelfReferencingColName(String selfReferencingColName) {
        this.selfReferencingColName = selfReferencingColName;
    }

    public String getRefGeneration() {
        return refGeneration;
    }

    public void setRefGeneration(String refGeneration) {
        this.refGeneration = refGeneration;
    }
}
